
package com.shopx.config.bean;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * SysCode
 *
 * @author lituo 2021-01-04
 */
@Data
public class SysCode {

  private String codeId;

  private String codeName;

  @NotNull(message = "88888|描述不能为空")
  @Length(min=2,max=16,message="长度必须为6-16位")
  private String codeDesc;

  private String state;

  private String createTime;

  private String createUserId;

  private String updateTime;

  private String updateUserId;
}
